<template>
    <footer>
        <div class="banxin footer_box tanxin">
            <div class="footer_box_l">
                <img src="../assets/images/home/slogan.png" alt="">
                <p>叩丁狼是一家专注于培养高级IT技术人才，
                    为学员提供定制化IT职业规划方案及意见咨询服务的教育科技公司，
                    为您提供海量优质课程，以及创新的线上线下学习体验，帮助您获得全新的个人发展和能力提升。</p>
            </div>
            <ul class="footer_box_c">
                <li @mouseenter="showWx = true" @mouseout="showWx = false "><a href="#">微信公众号</a>
                    <img class="wx" src="../assets/images/home/wx.png" alt="" v-show="showWx">
                </li>
                <li><a href="#">新浪微博</a></li>
                <li @mouseenter="showSer = true" @mouseout="showSer = false "><a href="#">在线客服</a>
                    <img class="service" src="../assets/images/home/service.png" alt="" v-show="showSer">
                </li>
            </ul>
            <div class="footer_box_r">
                <p>全国免费咨询热线：</p>
                <h2>020-85628002</h2>
            </div>
        </div>
    </footer>
</template>

<script>
export default {
    data() {
        return {
            showWx: false,
            showSer: false
        }
    }
}
</script>
<style lang = "less" scoped>
@import "../assets/base.less";

footer {
    background: @black;
    color: #7D879A;

    a {
        color: #7D879A;
        text-decoration: none;
    }

    a:hover {
        color: #fff;
    }

    .footer_box {
        height: 240px;

        .footer_box_l {
            width: 426px;

            img {
                margin-top: 33px;
                margin-bottom: 27px;
            }

            p {
                width: 426px;
                height: 55px;
                font-size: 12px;
                font-family: Microsoft YaHei;
                font-weight: 400;
                color: #7D879A;
            }
        }
    }

    .footer_box_c {
        display: flex;
        justify-content: center;
        align-items: center;

        li {
            border-right: 1px solid #7d879a;
            padding-left: 18px;
            padding-right: 18px;
            position: relative;
            &:last-of-type {
                border: 0;
            }
            .wx,
            .service{
                position: absolute;
                left: 50%;
                top: -110px;
                transform: translateX(-50%);
            }
        }
    }

    .footer_box_r {
        padding-top: 92px;

        p {
            font-size: 14px;
            font-family: Microsoft YaHei;
            font-weight: 400;
            color: #7D879A;
        }

        h2 {
            margin-top: 10px;
            font-size: 28px;
            font-family: SourceHanSansSC;
            font-weight: bold;
            color: #FFFFFF;
        }
    }
}
</style>